package logic.framework_logic;

import datasv.framework_datasv.FrameworkDatasv;
import po.ModelPO;
import po.SubModelPO;
import resultmessage.FrameworkRM;
import stub.datasvStub.FrameworkDatasvStub;
import vo.ModelVO;
import vo.SubModelVO;
import logicsv.framework_logicsv.FrameworkLogicsv;

public class FrameworkLogicController implements FrameworkLogicsv{
//	FrameworkDatasv frameworkData = new FrameworkDatasvStub(new ModelPO(null, null, 0, 0, null),new SubModelPO(null, null, null, 0, 0, 0, 0, null));
	Framework framework = new Framework();
	@Override
	public FrameworkRM addModel(String collegeID, ModelPO m) {
		// TODO Auto-generated method stub
		return framework.addModel(collegeID, m);
	}

	@Override
	public ModelVO getModel(String collegeID, String modelID) {
		// TODO Auto-generated method stub
		
		return framework.getModel(collegeID, modelID);
	}

	@Override
	public FrameworkRM deleteModel(String collegeID, String modelID) {
		// TODO Auto-generated method stub
		return framework.deleteModel(collegeID, modelID);
	}

	@Override
	public FrameworkRM updateModel(String collegeID, ModelPO m) {
		// TODO Auto-generated method stub
		return framework.updateModel(collegeID, m);
	}

	@Override
	public FrameworkRM addSubModel(String collegeID, String modelID,
			SubModelPO sm) {
		// TODO Auto-generated method stub
		return framework.addSubModel(collegeID, modelID, sm);
	}

	@Override
	public SubModelVO getSubModel(String collegeID, String modelID,
			String subModelID) {
		// TODO Auto-generated method stub
		return framework.getSubModel(collegeID, modelID, subModelID);
	}

	@Override
	public FrameworkRM deleteSubModel(String collegeID, String modelID,
			String subModelID) {
		// TODO Auto-generated method stub
		return framework.deleteSubModel(collegeID, modelID, subModelID);
	}

	@Override
	public FrameworkRM updateSubModel(String collegeID, String modelID,
			SubModelPO sm) {
		// TODO Auto-generated method stub
		return framework.updateSubModel(collegeID, modelID, sm);
	}


}
